package com.sihai.ehr.web.pojo;

import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

public class StaffSearchPojo {
    private Long department;
    private Long duty;
    private String dissmission;
    private Long area;
    private String userName;            //员工姓名
    private String usedTime;            //使用时间

    public StaffSearchPojo(){

    }

    public  StaffSearchPojo(String userName,String usedTime){
        this.userName=userName;
        this.usedTime=usedTime;
    }

    public StaffSearchPojo(Long department, Long duty, String dissmission, Long area) {
        this.department = department;
        this.duty = duty;
        this.dissmission = dissmission;
        this.area = area;
    }

    public Long getDepartment() {
        return department;
    }

    public void setDepartment(Long department) {
        this.department = department;
    }

    public Long getDuty() {
        return duty;
    }

    public void setDuty(Long duty) {
        this.duty = duty;
    }

    public String getDissmission() {
        return dissmission;
    }

    public void setDissmission(String dissmission) {
        this.dissmission = dissmission;
    }

    public Long getArea() {
        return area;
    }

    public void setArea(Long area) {
        this.area = area;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUsedTime() {
        return usedTime;
    }

    public void setUsedTime(String usedTime) {
        this.usedTime = usedTime;
    }

    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this, ToStringStyle.SHORT_PREFIX_STYLE, false)
			.concat(String.format("@hashCode=%s", this.hashCode()));
    }
}
